<include file="public@header"/>
</head>
<body style="background-color: #E5F3E6">
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
    <!--company 不能写成 company  否则会报控制器不存在-->
        <li><a href="{:url('company/stationIndex')}">岗位信息</a></li>
		<li  class="active"><a href="{:url('company/stationAdd')}">添加岗位信息</a></li></li>
    </ul>
    <!-- js-ajax-form-->
    <form class="form-horizontal margin-top-20" action="{:url('company/stationAddPost')}" method="post">
        <div class="form-group">
                <label for="input-departID" class="col-sm-2 control-label"><span class="form-required">*</span>部门名称</label>
                <div class="col-md-6 col-sm-10">
                    <select class="form-control" name="departID" id="input-departID">
                        <option value="0">作为一级菜单</option>{$select_category}
                     </select>
                </div>
        </div>
        <div class="form-group">
            <label for="input-stationName" class="col-sm-2 control-label"><span class="form-required">*</span>岗位名称</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-stationName" name="stationName">
            </div>
        </div>
        <div class="form-group">
            <label for="input-stationCode" class="col-sm-2 control-label"><span class="form-required">*</span>岗位编码</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-stationCode" name="stationCode">
            </div>
        </div>        
       
        <div class="form-group">
            <label for="input-workArea" class="col-sm-2 control-label"><span class="form-required">*</span>管控区域</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-workArea" name="workArea">
            </div>
        </div>
        <div class="form-group">
				<label for="input-stDangerLevelID" class="col-sm-2 control-label">
                <span class="form-required">*</span>风险等级</label>
				<div class="col-md-6 col-sm-10">
					<select class="form-control" name="stDangerLevelID" id="input-stDangerLevelID">
						<foreach name="data" item="vo">
							<option id = '{$vo.dangerLevelID}' value='{$vo.dangerLevelID}'>{$vo.dangerLevelName}</option>
						</foreach>
					</select>
				</div>
			</div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>